package com.qhhc.hospital.mapper;

import com.qhhc.hospital.entity.Arrange;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ArrangeMapper {
    public int insertArrange(Arrange arrange);
    
    public List<Arrange> selectAllArranges();
    
    public Arrange selectArrangeById(@Param("ar_id") String arId);
    
    public List<Arrange> selectArrangeByDoctorId(@Param("d_id") Integer dId);
    
    public int updateArrange(Arrange arrange);
    
    public int deleteArrange(@Param("ar_id") String arId);
} 